#ifndef __WIFISTATION__H_
#define __WIFISTATION__H_

#ifdef __cplusplus
extern "C" {
#endif

#define WIFI_CONNECTED_BIT BIT0
#define WIFI_FAIL_BIT      BIT1

void getCurrentDateTime(char* buf);
void getCurrentTime(char* buf);
void wifiStationInit(char *st_ssid,char *st_pwd);
uint8_t get_wifi_status(void);
void beginWifiWith(char* ssid, char* pwd, uint8_t flag);
void beginWifi(char* ssid, char* pwd);
void resetWifi(void);
uint8_t *get_ssid_of_station(void);
int8_t get_rssi_of_station(void);
#ifdef __cplusplus	
}
#endif
#endif
